'use client';
import { useEffect } from 'react';
import { env } from '@/api/common';
import type { ReactNode } from 'react';
import { initDingH5RemoteDebug } from 'dingtalk-h5-remote-debug';

export default function Wrapper(props: { children: ReactNode }) {
	useEffect(() => {
		if (env !== 'prod') {
			initDingH5RemoteDebug();
		}
	}, []);
	return <>{props.children}</>;
}

